package com.yonyou.pmclouds.externalservice.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.externalservice.entity.FailedExternalRecordVO;

import java.util.List;

public interface FailedExternalRecordQuery {

    PageObject<FailedExternalRecordVO> getFailedRecordByUser(String tenantId, String userId, int pageStart, int pageSize) throws BusinessException;

    int checkFailedRecord(String userId, String tenantId) throws BusinessException;

    FailedExternalRecordVO queryByPkBill(String pkBill) throws BusinessException;

    List<FailedExternalRecordVO> queryByPkBills(List<String> pkBills) throws BusinessException;

}
